package com.supos.plugin.bean;

import com.alibaba.fastjson.JSON;

/**
 * date：2020/4/3 13:30
 * author  ：<xinwangji@supcon.com>
 */

public class Compose {

    private String replicas = "1";

    private String containersName = "server";

    private String containerPort = "8080";

    private String mountPath = "/server-data";

    private String requestsMemory = "512Mi";

    private String resourcesCpu = "1000m";

    private String limitsMemory = "1024Mi";

    private String limitsCpu = "2000m";

    private String portsPort = "8080";

    private String portsTargetPort = "8080";

    private String proxyPath = "/";

    private String proxyServicePort = "8080";

    public String getReplicas() {
        return replicas;
    }

    public void setReplicas(String replicas) {
        this.replicas = replicas;
    }

    public String getContainersName() {
        return containersName;
    }

    public void setContainersName(String containersName) {
        this.containersName = containersName;
    }

    public String getContainerPort() {
        return containerPort;
    }

    public void setContainerPort(String containerPort) {
        this.containerPort = containerPort;
    }

    public String getMountPath() {
        return mountPath;
    }

    public void setMountPath(String mountPath) {
        this.mountPath = mountPath;
    }

    public String getRequestsMemory() {
        return requestsMemory;
    }

    public void setRequestsMemory(String requestsMemory) {
        this.requestsMemory = requestsMemory;
    }

    public String getResourcesCpu() {
        return resourcesCpu;
    }

    public void setResourcesCpu(String resourcesCpu) {
        this.resourcesCpu = resourcesCpu;
    }

    public String getLimitsMemory() {
        return limitsMemory;
    }

    public void setLimitsMemory(String limitsMemory) {
        this.limitsMemory = limitsMemory;
    }

    public String getLimitsCpu() {
        return limitsCpu;
    }

    public void setLimitsCpu(String limitsCpu) {
        this.limitsCpu = limitsCpu;
    }

    public String getPortsPort() {
        return portsPort;
    }

    public void setPortsPort(String portsPort) {
        this.portsPort = portsPort;
    }

    public String getPortsTargetPort() {
        return portsTargetPort;
    }

    public void setPortsTargetPort(String portsTargetPort) {
        this.portsTargetPort = portsTargetPort;
    }

    public String getProxyPath() {
        return proxyPath;
    }

    public void setProxyPath(String proxyPath) {
        this.proxyPath = proxyPath;
    }

    public String getProxyServicePort() {
        return proxyServicePort;
    }

    public void setProxyServicePort(String proxyServicePort) {
        this.proxyServicePort = proxyServicePort;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
